package com.wicket.okrbff.biz.service.dto.common;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import javax.validation.constraints.NotNull;
import lombok.Data;
import java.util.Objects;
import com.wicket.okrbff.common.annotations.TreeType;

/**
 * @desc BffDataListAllPathDto
 * @使用场景
 */
@Data
public class BffDataListAllPathDto implements Serializable {

  /**
   * 周期阶段资料记录ID
   */
  @ApiModelProperty("周期阶段资料记录ID")
  private String cycleStageDataId;

  /**
   * 资料图片概要明细地址
   */
  @ApiModelProperty("资料图片概要明细地址")
  private String datasetPrimarykey;
/**
     * 消息ID 
     */
    @ApiModelProperty("消息ID")
    private String	 messageId;
/**
     * 自定义字段
     */
    @TreeType("fid")
@ApiModelProperty("自定义字段")
    private String	 customField;
@Override
  public boolean equals(Object o) {
      if (this == o) return true;
      if (o == null || getClass() != o.getClass()) return false;
      if (!super.equals(o)) return false;
      BffDataListAllPathDto that = (BffDataListAllPathDto) o;
      return  cycleStageDataId == that.cycleStageDataId&&datasetPrimarykey == that.datasetPrimarykey&&messageId == that.messageId&&customField == that.customField;
    }
@Override
  public int hashCode() {
      return Objects.hash(super.hashCode(), cycleStageDataId,datasetPrimarykey,messageId,customField);
    }

}
